Skip to content

Conversation

DanyMariaLee
Copy link
Contributor

No description provided.

keyWrapper-namespace = "test"
keyWrapper-setName = "test33"
example-host = "127.0.0.1"
example-host = "ds-aerospike01t"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inside)

val out = weakTypeOf[(Map[String, Option[T]], Int, Int)]
val tpeSt = q"${tpe.toString}"

println("type " + tpe)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remained after debug?

case ms: java.util.Map[Any @unchecked, Any @unchecked] =>
val res = castTuple(ms.asScala.iterator.toMap, $ts)
res.collect { case t: $tpe => t }
println("tuple from map " + ms.asScala.iterator.toMap)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!

case t if t =:= weakTypeOf[Map[String, Any]] => typedMap(tq"String", tq"Any")
case t if tupleArity(t) != 0 =>
val tplArity = tupleArity(t)
println("IM IN TUPLE " + t)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants